package com.cls.fins_demo;

import com.cls.fins_demo.config.FinsClientConfig;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * fins启动类
 *
 * @author CLS
 * @since 2023/08/04
 */
@Slf4j
@SpringBootApplication
public class FinsDemoApplication {

    public static void main(String[] args) {
        SpringApplication.run(FinsDemoApplication.class, args);
        log.info("初始化 ~ (●'网络◡通讯'●) ~ ");
        try {
            FinsClientConfig.finsStart("10.10.1.107", 9600);
        } catch (Exception e) {
            throw new RuntimeException(e);
        }
    }

}
